google.golang.org/grpc/internal/transport.itemList.peek (method)

4 uses

	google.golang.org/grpc/internal/transport (current package)
		controlbuf.go#L62: func (il *itemList) peek() interface{} {
		controlbuf.go#L894: 	dataItem := str.itl.peek().(*dataFrame) // Peek at the first data item this stream.
		controlbuf.go#L909: 		} else if trailer, ok := str.itl.peek().(*headerFrame); ok { // the next item is trailers.
		controlbuf.go#L978: 	} else if trailer, ok := str.itl.peek().(*headerFrame); ok { // The next item is trailers.